/**
 * 
 */

function titleInit(){
	var btnLogin;
	var btnLogout;

	btnLogin=document.getElementById("btnLogin");
	btnLogout=document.getElementById("btnLogout");
	
	if(btnLogin != null){
		btnLogin.onclick=function(){
			var f=document.frm;
			if(f.mid.value== '' || f.pwd.value==''){
				alert("아이디와 암호를 입력해주세요.");
			}else{
				f.submit();
			}
		}
	}
	if(btnLogout != null){
		btnLogout.onclick=function(){
			location.href="./member/logout.jsp";
		}
	}
}